package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.dtos.ArticleHomeDto;
import com.itheima.pojos.ApArticle;
import com.itheima.vos.ArticleVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author wangjiexin
 */
@Mapper
@Repository
public interface ArticleMapper extends BaseMapper<ApArticle> {

    List<ArticleVO> loadArticle(@Param("dto") ArticleHomeDto dto);
}
